package router

import (
	"github.com/gin-gonic/gin"
	"learn/controller"
)


func InitRouter(r *gin.Engine) {
	r.GET("/myNodeList",controller.MyNodeList) //记事本list
	r.POST("/addNode",controller.AddNode) //新增
	r.DELETE("/delNode",controller.DelNode) //删除
	r.POST("/updateNode",controller.UpdateNode) //更新
}
